package com.hyz.login.mapper;

import com.hyz.login.model.Hospitalprice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zwq
 * @since 2022-11-30
 */
public interface HospitalpriceMapper extends BaseMapper<Hospitalprice> {

    List<Hospitalprice> findByRegId(@Param("registerId") Integer registerId,
                                    @Param("state") Integer state,
                                    @Param("page") Integer page,
                                    @Param("limit") Integer limit);

    Integer addDrug(Hospitalprice hospitalprice);
}
